/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package graph;

/**
 *
 * @author Arnaud
 */
public class Work {
    private Long id_travail;
    private String nomEntreprise;

    public Work(Long id_travail, String nomEntreprise) {
        this.id_travail = id_travail;
        this.nomEntreprise = nomEntreprise;
    }

    public Long getId_travail() {
        return id_travail;
    }

    public String getNomEntreprise() {
        return nomEntreprise;
    }

    @Override
    public String toString() {
        return "{" + id_travail + ", " + nomEntreprise + '}';
    }
    
    
}
